/**
 * 
 */
package com.angel.email.constants;

import com.angel.email.provider.ProviderType;


/**
 * @author William
 *
 */
public class EmailPropertyConstants {

	private EmailPropertyConstants(){
		super();
	}

	/**
	 * Setting email process debug mode. It can be in debug or normal. 
	 * You can add this property with value "true", to activate debug mode.
	 * Otherwise normal mode is acitivate. 
	 */
	public static final String EMAIL_DEBUG = "mail.debug";
	
	public static final String EMAIL_AUTH = "mail.auth";
	
	/**
	 * Setting email server url. It is associated with {@link EmailPropertyConstants#EMAIL_PROVIDER}.
	 * If email provider property is setted with "pop3", email server url should be an address 
	 * to access to a pop3 server.
	 * 
	 */
	public static final String EMAIL_SERVER_URL = "mail.server.url";
	
	public static final String EMAIL_INCOMING_URL = "mail.incoming.url";
	public static final String EMAIL_INCOMING_PORT = "mail.incoming.port";
	
	
	public static final String EMAIL_OUTGOING_URL = "mail.outgoing.url";
	public static final String EMAIL_OUTGOING_PORT = "mail.outgoing.port";
	
	/**
	 * Setting email provider mode. It can be pop3, or imap mode.
	 * @see ProviderType
	 */
	public static final String EMAIL_PROVIDER = "mail.provider";

	/**
	 * Session property to log in debug mode.
	 */
	public static final Boolean EMAIL_DEBUG_ENABLED = true;
	
	/**
	 * Session property to log in normal mode.
	 */
	public static final Boolean EMAIL_DEBUG_DISABLE = false;
	
}
